# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=skipfish
pkgver=2.10b
pkgrel=12
groups=('blackarch' 'blackarch-webapp' 'blackarch-scanner' 'blackarch-fuzzer')
pkgdesc='A fully automated, active web application security reconnaissance tool.'
arch=('x86_64' 'aarch64')
license=('Apache')
url='http://code.google.com/p/skipfish/'
depends=('openssl-1.0' 'libidn' 'libidn11')
source=('skipfish-bin.tar.xz')
sha512sums=('25a922ba5d8a768e132f600c5272ad7303462a54f60f2d10ac7203a89bd9d7b6aa2047e6e087b5a16debf82384598e758de5d932f070dd0691eac7c1165d7997')

package() {
  cd skipfish-bin

  install -dm 755 "$pkgdir/usr/share/$pkgname"

  install -Dm 755 -t "$pkgdir/usr/bin/" bin/*
  install -Dm 644 man1/* "$pkgdir/usr/share/man/man1/$pkgname.1"

  cp -a share/* "$pkgdir/usr/share/$pkgname/"
}

